*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: aquamarine;
}

ul{
  position: relative;
  background-color: white;
  min-width: 300px;
  padding: 20px;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
ul li{
  position: relative;
  list-style: none;
}

ul li::before{
  content: '';
  position: absolute;
  top: 26px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #e0e0e0;
  border-radius: 50%;
  transition: 0.5s;
}

ul li:hover:before{
  background: #188aff;
}

ul li a {
  text-decoration: none;
  display: flex;
}

ul li a .icon{
  width: 60px;
  height: 40px;
  text-align: center;
  overflow: hidden;
  margin: 10px;
}

ul li a .icon .fa{
  width: 100%;
  height: 100%;
  line-height: 40px;
  font-size: 34px;
  color: #333;
  transition: 0.5s;
}

ul li a .icon .fa:last-child{
  color: #188aff;
}

ul li a:hover .icon .fa{
  transform: translateY(-100%);
}

ul li a:hover .icon .fa:last-child{
  transform: translateY(-100%);
}

ul li a .name{
  position: relative;
  top: 20px;
  height: 20px;
  width: 100%;
  display: block;
  overflow: hidden;
}

ul li a .name span{
  position: relative;
  display: block;
  transition: 0.5s;
  color: #333;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
}
ul li a .name span::before{
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  color: #188aff;
}

ul li a:hover .name span{
  transform: translateY(-100%);
}